﻿using Gecko.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Gecko.Controllers
{
    public class ServiceController : Controller
    {
        [HttpPost]
        public JsonResult VerifyUser(String userId)
        {
            using (var userInfoService = new UserInfoService())
            {
                var result = userInfoService.VerifyUser(userId);
                return Json(result, JsonRequestBehavior.AllowGet);
            }
        }
    }
}
